package com.xq.shop.vo;


public class RespMsg {

	/**
	 * 消息类型定义
	 * @author XQ
	 *
	 */
	public static enum Result {
		success, error
	}
	
	private Result type;	//消息类型
	private Object content;	//消息内容
	
	public RespMsg() {
		this.type = Result.success;
		this.content = new String();
	}
	
	public RespMsg(Result type, Object msg){
		this.type = type;
		this.content = msg;
	}
	
	public Result getType() {
		return type;
	}
	public void setType(Result type) {
		this.type = type;
	}

	public Object getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
}

